package com.zhongruan.zrccddllyhn.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.Instant;
import java.time.LocalDateTime;

@Data
public class User {
    @NotNull
    private Integer id;
    @JsonIgnore
    private String username;
    private String password;
    private String userId;
    @JsonFormat()
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}